<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>badge</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<script type="text/javascript" src="../../statics/common/js/header.js"></script>
		<!--标准mdui.css-->
		<link rel="stylesheet" href="../../statics/mdui/css/mdui.min.css">
		<!--App自定义的css-->
		<link rel="stylesheet" type="text/css" href="../../statics/mdui/css/app.css"/>
		<style>
			h5 {
				margin: 10px;
			}
			.mdui-badge {
				margin: 10px;
			}
		</style>
	</head>

	<body>
		<header class="mdui-bar mdui-bar-nav">
			<a class="mdui-action-back mdui-icon mdui-icon-left-nav mdui-pull-left"></a>
			<h1 class="mdui-title">badge（数字角标）</h1>
		</header>
		<div class="mdui-content">
			<div class="mdui-content-padded">
				<h5>有底色</h5>
				<span class="mdui-badge">1</span>
				<span class="mdui-badge mdui-badge-primary">12</span>
				<span class="mdui-badge mdui-badge-success">123</span>
				<span class="mdui-badge mdui-badge-warning">3</span>
				<span class="mdui-badge mdui-badge-danger">45</span>
				<span class="mdui-badge mdui-badge-purple">456</span>
				<h5>无底色（使用父元素背景色）</h5>
				<span class="mdui-badge mdui-badge-inverted">1</span>
				<span class="mdui-badge mdui-badge-primary mdui-badge-inverted">2</span>
				<span class="mdui-badge mdui-badge-success mdui-badge-inverted">3</span>
				<span class="mdui-badge mdui-badge-warning mdui-badge-inverted">4</span>
				<span class="mdui-badge mdui-badge-danger mdui-badge-inverted">5</span>
				<span class="mdui-badge mdui-badge-royal mdui-badge-inverted">6</span>
			</div>
		</div>
	</body>
	<script src="../../statics/mdui/js/mdui.min.js"></script>
	<script>
		mdui.init({
			swipeBack:true //启用右滑关闭功能
		});
	</script>
</html>